package cn.iocoder.yudao.module.book.controller.admin.plans.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 阅读计划分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PlansPageReqVO extends PageParam {

    @Schema(description = "计划id", example = "18253")
    private Integer planId;

    @Schema(description = "用户id", example = "15314")
    private Integer userId;

    @Schema(description = "绘本id", example = "7852")
    private Integer bookId;

    @Schema(description = "绘本集id", example = "27632")
    private Integer collectionId;

    @Schema(description = "计划名称", example = "李四")
    private String planName;

    @Schema(description = "计划类型", example = "1")
    private String planType;

    @Schema(description = "每日阅读数量", example = "5161")
    private Integer dailyCount;

    @Schema(description = "复习计划")
    private String reviewSchedule;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}